package com.df.happylearn.articles;

import com.df.happylearn.BasePresenter;
import com.df.happylearn.BaseView;
import com.df.happylearn.model.ArticleInfo;

import java.util.List;

/**
 * Created by dingfeng on 2016/5/24.
 */
public interface ArticlesContract {

    interface View extends BaseView<Presenter> {
        void showArticles(List<ArticleInfo> articles);
        void showMore(List<ArticleInfo> articles);
        void showNoArticles();
    }

    interface Presenter extends BasePresenter {
        void loadArticles();
        void loadArticles(int page);
    }
}
